<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/SERVICE/Workflowservice/AbsenceApprovalWF.xamlx?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/KPIS.GERP.SERVICE.Model" />
  <xs:import schemaLocation="http://localhost/SERVICE/Workflowservice/AbsenceApprovalWF.xamlx?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:element name="CreateAbsenceTask">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Requester" type="xs:int" />
        <xs:element minOccurs="0" name="RefSeq" type="xs:int" />
        <xs:element minOccurs="0" name="RefToTableName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="RefToColumnSeqName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="RefToColumnTypeSeqName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="ConfirmAs" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="CreateAbsenceTaskResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/KPIS.GERP.SERVICE.Model" minOccurs="0" name="ApprovalTask" nillable="true" type="q1:approval_task" />
        <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetState">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="TaskID" type="q2:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetStateResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StatusMessage" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetApprovers">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="TaskID" type="q3:guid" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetApproversResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StatusMessage" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAction">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="TaskID" type="q4:guid" />
        <xs:element minOccurs="0" name="EmpSeq" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetActionResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="StatusMessage" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveAbsence">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/" minOccurs="0" name="TaskID" type="q5:guid" />
        <xs:element xmlns:q6="http://schemas.datacontract.org/2004/07/KPIS.GERP.SERVICE.Model" minOccurs="0" name="TaskAction" type="q6:TaskAction" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ApproveAbsenceResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="ApproveMessage" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>